package com.hd.trans.network.component

import com.hd.trans.network.bean.TaskResultResponse
import com.hd.trans.network.bean.UserInfoBean
import com.hd.trans.network.bean.textToVoice.Text2VoiceResponse
import com.hd.trans.network.bean.wavToLip.Wav2LipResponse

interface AiSparringComponent {
    /**
     * 任务结果回调
     */
    fun queryTaskResult(task_id: String?, queryAgain:(()->Unit)? = null, resultBack:((TaskResultResponse)->Unit)? = null)
    /**
     * 创建语音转文字任务
     */
    fun createText2VoiceTask(text: String, isAllowSplit: Boolean)
    /**
     * 创建音频转口型视频任务
     */
    fun createWav2LipTask(text: String)
}